package com.smartpro.mis.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 价格策略表
 * </p>
 *
 * @author mengiy123
 * @since 2019-04-10
 */
public class Price extends Model<Price> {

    private static final long serialVersionUID = 1L;

    /**
     * 价格策略id
     */
    @TableId(value = "priceID", type = IdType.AUTO)
    private Integer priceID;
    /**
     * 商品id
     */
    private Integer productID;
    /**
     * 规格组
     */
    private String specList;

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    /**
     * 商品原价
     */
    private BigDecimal originalPrice;
    /**
     * 立即购买价
     */
    private BigDecimal instantPrice;
    /**
     * 团购价
     */
    private BigDecimal groupPrice;
    /**
     * 团长价
     */
    private BigDecimal leaderPrice;
    /**
     * 个性化绩效列表
     */
    private String personalList;
    /**
     * 分级绩效列表
     */
    private String incomeClassList;

    /**
     * 是否允许买多个
     */
    private Integer isMultiple;
    /**
     * 新建时间
     */
    private String createTime;
    /**
     * 修改时间
     */
    private String modifyTime;
    /**
     * 操作员id
     */
    private Integer operatorID;


    public Integer getPriceID() {
        return priceID;
    }

    public void setPriceID(Integer priceID) {
        this.priceID = priceID;
    }

    public Integer getProductID() {
        return productID;
    }

    public void setProductID(Integer productID) {
        this.productID = productID;
    }

    public String getSpecList() {
        return specList;
    }

    public void setSpecList(String specList) {
        this.specList = specList;
    }

    public BigDecimal getInstantPrice() {
        return instantPrice;
    }

    public void setInstantPrice(BigDecimal instantPrice) {
        this.instantPrice = instantPrice;
    }

    public BigDecimal getGroupPrice() {
        return groupPrice;
    }

    public void setGroupPrice(BigDecimal groupPrice) {
        this.groupPrice = groupPrice;
    }

    public BigDecimal getLeaderPrice() {
        return leaderPrice;
    }

    public void setLeaderPrice(BigDecimal leaderPrice) {
        this.leaderPrice = leaderPrice;
    }

    public String getPersonalList() {
        return personalList;
    }

    public void setPersonalList(String personalList) {
        this.personalList = personalList;
    }

    public String getIncomeClassList() {
        return incomeClassList;
    }

    public void setIncomeClassList(String incomeClassList) {
        this.incomeClassList = incomeClassList;
    }


    public Integer getIsMultiple() {
        return isMultiple;
    }

    public void setIsMultiple(Integer isMultiple) {
        this.isMultiple = isMultiple;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getOperatorID() {
        return operatorID;
    }

    public void setOperatorID(Integer operatorID) {
        this.operatorID = operatorID;
    }

    @Override
    protected Serializable pkVal() {
        return this.priceID;
    }

    @Override
    public String toString() {
        return "Price{" +
        "priceID=" + priceID +
        ", productID=" + productID +
        ", specList=" + specList +
        ", instantPrice=" + instantPrice +
        ", groupPrice=" + groupPrice +
        ", leaderPrice=" + leaderPrice +
        ", personalList=" + personalList +
        ", incomeClassList=" + incomeClassList +
        ", originalPrice=" + originalPrice +
        ", isMultiple=" + isMultiple +
        ", createTime=" + createTime +
        ", modifyTime=" + modifyTime +
        ", operatorID=" + operatorID +
        "}";
    }
}
